Re: [SQL] Slow Inserts Again

Поиск
Список
Период
Сортировка
От Herouth Maoz
Тема Re: [SQL] Slow Inserts Again
Дата
Msg-id l03130306b35361d4928b@[147.233.159.109]
обсуждение исходный текст
Ответ на Re: [SQL] Slow Inserts Again  ("Frank Morton" <fmorton@base2inc.com>)
Список pgsql-sql
At 17:10 +0300 on 03/05/1999, Frank Morton wrote:


> Is there a doc somewhere about what characters are treated
> in some special way when doing a copy?

Yes, the documentation of the COPY command. The essence is that if you use
the default delimiter (tab), you need to put a backslash before each tab,
newline and backslash in each of the text fields. Oh, and null fields
should be converted to \N.

It's all in the docs. Why don't you try to copy some of the rows into a
temporary table, and dump that table using pg_dump -a -t table_name dbname?
It may give you a clue.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




В списке pgsql-sql по дате отправления:

Предыдущее
От: Chris Bitmead
Дата:
Сообщение: Re: [SQL] Slow Inserts Again
Следующее
От: Herouth Maoz
Дата:
Сообщение: Re: [SQL] Index on date_trunc